package com.basic.auth.controller.res;

/**
 * 角色功能返回实体
 *
 * @author
 * @version 1.0
 * @Date
 */
public class AuthRoleFuncResForm {
    /**
     * 角色编码
     */
    private String roleCode;
    /**
     * 功能id
     */
    private Long funcId;
    /**
     * 子系统id
     */
    private Short subSystemId;
    /**
     * 系统id
     */
    private Short systemId;
    /**
     * 功能类型
     */
    private String type;
    /**
     * 功能名称
     */
    private String name;
    /**
     * 功能路径
     */
    private String url;
    /**
     * 功能图标
     */
    private String icon;

    /**
     * 功能级别
     */
    private Integer rank;

    /**
     * 是否是末级节点
     *
     */
    private Short isEnd;

    /**
     * 功能父级id
     */
    private Long parentFuncId;

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public Long getFuncId() {
        return funcId;
    }

    public void setFuncId(Long funcId) {
        this.funcId = funcId;
    }

    public Short getSubSystemId() {
        return subSystemId;
    }

    public void setSubSystemId(Short subSystemId) {
        this.subSystemId = subSystemId;
    }

    public Short getSystemId() {
        return systemId;
    }

    public void setSystemId(Short systemId) {
        this.systemId = systemId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Short getIsEnd() {
        return isEnd;
    }

    public void setIsEnd(Short isEnd) {
        this.isEnd = isEnd;
    }

    public Long getParentFuncId() {
        return parentFuncId;
    }

    public void setParentFuncId(Long parentFuncId) {
        this.parentFuncId = parentFuncId;
    }

    @Override
    public String toString() {
        return "AuthRoleFuncResForm{" +
                "roleCode='" + roleCode + '\'' +
                ", funcId=" + funcId +
                ", subSystemId=" + subSystemId +
                ", systemId=" + systemId +
                ", type='" + type + '\'' +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", icon='" + icon + '\'' +
                ", rank=" + rank +
                ", isEnd=" + isEnd +
                ", parentFuncId=" + parentFuncId +
                '}';
    }
}
